import request from "@/utils/request.js";

export const listEmployee= (params) =>request.get('/api/hotel/employee/list',{params})

export const deleteEmployee= (id) =>request.delete('/api/hotel/employee/delete/'+id)

export const insertEmployee = (obj) => request.post('/api/hotel/employee/insert',obj)

export const updateEmployee = (obj) => request.put('/api/hotel/employee/update',obj)